<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="node_modules/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
<input type="button" value="点我" v-on:click="dian()">
    <br>
    {{msg}}


</div>
<script>

var dataObj={
    msg:"我是你爸爸！！！！！"
};



    var vm = new Vue({
        el:"#app",
       data:dataObj,
       methods:{
      dian(){

        setInterval( ()=> {

            var start = this.msg.substring(0,1);
            var end = this.msg.substring(1);
            this.msg=end+start;

        },10)

      }
       }



    })

</script>


</body>
</html>